package com.shop.cereshop.app.service.product;

import com.shop.cereshop.app.dl.logic.utils.ResultInfo;
import com.shop.cereshop.app.page.classify.Classify;
import com.shop.cereshop.app.page.index.Product;
import com.shop.cereshop.app.page.index.ProductClassify;
import com.shop.cereshop.app.param.classify.ClassifyParam;
import com.shop.cereshop.app.param.classify.ClassifyProductParam;
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.product.CereProductClassify;
import com.shop.cereshop.commons.exception.CoBusinessException;

import java.util.List;

public interface CereProductClassifyService {

    List<ProductClassify> findAll();

    List<Classify> getFirstClassify(ClassifyParam param) throws CoBusinessException;

    Page getClaasifyProducts(ClassifyProductParam param, CereBuyerUser user) throws CoBusinessException;

}

